package com.blqy.fr.model.account;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.blqy.fr.model.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 用户账单明细实体类
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "UserBillDetail")
@TableName("user_bill_detail")
public class UserBillDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "用户ID")
    @TableField("user_id")
    private Long userId;

    @Schema(description = "订单标题")
    @TableField("order_title")
    private String orderTitle;

    @Schema(description = "交易状态")
    @TableField("transaction_status")
    private Integer transactionStatus;

    @Schema(description = "金额")
    @TableField("amount")
    private BigDecimal amount;

    @Schema(description = "支付方式（如：wechat, alipay, balance）")
    @TableField("payment")
    private String payment;
}